class A {
    root = document.body;
    do() {
        console.log(this);
        console.log(this.document);
        return {};
    }
}

a= new A();
a.do();

